package cn.wolfcode.wolf2w.repository;


import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
* 攻略分类持久层接口
*/
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog, String>{

    /**
     * 通过destId查询攻略分类及其明细
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
